package io.pumelo.noti;

import io.pumelo.noti.client.NettyClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.context.annotation.ComponentScan;


@ComponentScan(value = "io.pumelo.noti")
public class NotiService implements CommandLineRunner{

    @Autowired
    private NettyClient nettyClient;


    @Override
    public void run(String... strings) throws Exception {
        nettyClient.init();
    }
}
